<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>YU商城管理中心</title>
    <script type='text/javascript' src='http://127.0.0.1/teacherShop/hdphp/hdphp/Extend/Org/Jquery/jquery-1.8.2.min.js'></script>
<link href='http://127.0.0.1/teacherShop/hdphp/hdphp/../hdjs/css/hdjs.css' rel='stylesheet' media='screen'>
<script src='http://127.0.0.1/teacherShop/hdphp/hdphp/../hdjs/js/hdjs.js'></script>
<script src='http://127.0.0.1/teacherShop/hdphp/hdphp/../hdjs/js/slide.js'></script>
<script src='http://127.0.0.1/teacherShop/hdphp/hdphp/../hdjs/org/cal/lhgcalendar.min.js'></script>
<script type='text/javascript'>
		HOST = 'http://127.0.0.1';
		ROOT = 'http://127.0.0.1/teacherShop';
		WEB = 'http://127.0.0.1/teacherShop/index.php';
		URL = 'http://127.0.0.1/teacherShop/index.php/Admin';
		HDPHP = 'http://127.0.0.1/teacherShop/hdphp/hdphp';
		HDPHPDATA = 'http://127.0.0.1/teacherShop/hdphp/hdphp/Data';
		HDPHPTPL = 'http://127.0.0.1/teacherShop/hdphp/hdphp/Lib/Tpl';
		HDPHPEXTEND = 'http://127.0.0.1/teacherShop/hdphp/hdphp/Extend';
		APP = 'http://127.0.0.1/teacherShop/index.php/Admin';
		CONTROL = 'http://127.0.0.1/teacherShop/index.php/Admin/Index';
		METH = 'http://127.0.0.1/teacherShop/index.php/Admin/Index/index';
		GROUP = 'http://127.0.0.1/teacherShop/my';
		TPL = 'http://127.0.0.1/teacherShop/my/myshop/Admin/Tpl';
		CONTROLTPL = 'http://127.0.0.1/teacherShop/my/myshop/Admin/Tpl/Index';
		STATIC = 'http://127.0.0.1/teacherShop/Static';
		PUBLIC = 'http://127.0.0.1/teacherShop/my/myshop/Admin/Tpl/Public';
</script>
    <script type="text/javascript" src="http://127.0.0.1/teacherShop/my/myshop/Admin/Tpl/Index/js/menu.js"></script>
    <script type="text/javascript" src="http://127.0.0.1/teacherShop/my/myshop/Admin/Tpl/Index/js/quick_menu.js"></script>
    <link type="text/css" rel="stylesheet" href="http://127.0.0.1/teacherShop/my/myshop/Admin/Tpl/Index/css/css.css"/>
    <link type="text/css" rel="stylesheet" href="http://127.0.0.1/teacherShop/my/myshop/Admin/Tpl/Index/css/quick_menu.css"/>

</head>
<body>
<div class="nav">
    <!--头部左侧导航-->
    <div class="top_menu">
        <?php $hd["list"]["m"]["total"]=0;if(isset($top_menu) && !empty($top_menu)):$_id_m=0;$_index_m=0;$lastm=min(1000,count($top_menu));
$hd["list"]["m"]["first"]=true;
$hd["list"]["m"]["last"]=false;
$_total_m=ceil($lastm/1);$hd["list"]["m"]["total"]=$_total_m;
$_data_m = array_slice($top_menu,0,$lastm);
if(count($_data_m)==0):echo "";
else:
foreach($_data_m as $key=>$m):
if(($_id_m)%1==0):$_id_m++;else:$_id_m++;continue;endif;
$hd["list"]["m"]["index"]=++$_index_m;
if($_index_m>=$_total_m):$hd["list"]["m"]["last"]=true;endif;?>

            <a href="javascript:" nid="<?php echo $m['nid'];?>" onclick="get_left_menu(<?php echo $m['nid'];?>);" class="top_menu"><?php echo $m['title'];?></a>
        <?php $hd["list"]["m"]["first"]=false;
endforeach;
endif;
else:
echo "";
endif;?>
    </div>
    <!--头部左侧导航-->
    <!--头部右侧导航-->
    <div class="r_menu">
        <?php echo $_SESSION['rname'];?> : <?php echo $_SESSION['username'];?> <a href="<?php echo U('Login/out');?>" target="_self">[退出]</a>
        <span>|</span>
        <a href="javascript:hd_ajax('<?php echo U('updateAllCache');?>');">更新全站缓存</a>
        <span>|</span>
        <a href="http://127.0.0.1/teacherShop/index.php" target="_blank">前台首页</a>
        <span>|</span>
        <a href="<?php echo U('Member/Index/index');?>" target="_blank">会员中心</a>
    </div>
    <!--头部右侧导航-->
</div>
<!--左侧导航-->
<div class="main">
    <!--主体左侧导航-->
    <div class="left_menu">
        <dl><dt>商品管理</dt>
        <dd>
            <a  href="<?php echo U('Goods/index');?>" target="content">添加商品</a>
        </dd>
        <dd>
            <a  href="<?php echo U('Category/index');?>" target="content">栏目管理</a>
        </dd>
        <dd>
            <a  href="<?php echo U('Brand/index');?>" target="content">品牌管理</a>
        </dd>

        </dl>
        <dl><dt>商品类型</dt>
        <dd>
            <a  href="<?php echo U('GoodsType/index');?>" target="content">添加类型</a>
        </dd>
        </dl>

        <dl><dt>订单管理</dt>
        <dd>
            <a  href="<?php echo U('Order/index');?>" target="content">未发货订单</a>
        </dd>
        </dl>
    </div>
    <!--主体左侧导航-->
    <!--内容显示区域-->
            
    <div class="top_content">
        <iframe src="" scrolling="auto" frameborder="0"
        style="height: 100%;width: 100%;" name="content"></iframe>
    </div>
    <!--内容显示区域-->
</div>

</body>
</html>